import { r } from '@evam/utils';

// 列表
export const list = (params) => {
  return r('post', 'activity/list', { ...params });
};

// 栏目
export const categoryList = (params) => {
  return r('post', 'category/pagelist', { ...params, page_size: 10000 });
};

// 上下架
export const updateStatus = (params) => {
  return r('post', 'activity/status', params);
};
